package com.zyd.io.vo.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "接口响应信息")
public class ResBody {

    @ApiModelProperty(value = "返回码(0000：成功，9000：失败)", required = true)
    private String retCode;

    @ApiModelProperty(value = "返回信息", required = true)
    private String retMsg;

    @ApiModelProperty(value = "返回数据", required = true)
    private Object data;

    public ResBody() {
    }

    public ResBody(String retCode, String retMsg) {
        this.retCode = retCode;
        this.retMsg = retMsg;
    }

    public String getRetCode() {
        return retCode;
    }

    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
